<?php 
define("CCTRL", "filemanage");
define("CCTRLNAME", "filemanage");
session_start();
class filemanage extends CI_Controller  {

        /**
        * Index Page for this controller.
        *
        * Maps to the following URL
        * 		http://example.com/index.php/welcome
        *	- or -  
        * 		http://example.com/index.php/welcome/index
        *	- or -
        * Since this controller is set as the default controller in 
        * config/routes.php, it's displayed at http://example.com/
        *
        * So any other public methods not prefixed with an underscore will
        * map to /index.php/welcome/<method_name>
        * @see http://codeigniter.com/user_guide/general/urls.html
        */
       private $_configs = null;
       function __construct()
        {
            parent::__construct();
            $this->load->helper('url');
            $this->load->library('smarty3');
            include APPPATH . 'libraries/defu.php';
            $this->smarty=new CI_Smarty3();$this->smarty->error_reporting = E_ALL & ~E_NOTICE;
        }
        public function index()
	{
            $this->smarty
                    ->assign('_SESSION', $_SESSION)
                    ->display("APanel/".CCTRL."/".CCTRL);
	}
        public function f2012()
	{
            $_SESSION['KCFINDER']['uploadURL'] = base_url("f");
            $this->smarty
                    ->assign('_SESSION', $_SESSION)
                    ->display("APanel/".CCTRL."/".CCTRL);
	}
        public function f2013()
	{
            $_SESSION['KCFINDER']['uploadURL'] = base_url("data");
            $this->smarty
                    ->assign('_SESSION', $_SESSION)
                    ->display("APanel/".CCTRL."/".CCTRL);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */